package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by MOMO on 2018/12/1.
 */
@RestController
public class TestController {

    @RequestMapping("/test")
    public String test(String name){
        System.out.println(name);
        return name;
    }

}
